package wechat

import (
	"crmeb-common/global"
	"time"
)

// PayComponentCat 组件类目表
type PayComponentCat struct {
	global.BaseModel
	ThirdCatId int32 `json:"thirdCatId" gorm:"column=third_cat_id;comment:类目ID"`

	ThirdCatName string `json:"thirdCatName" gorm:"column=third_cat_name;comment:类目名称"`

	Qualification string `json:"qualification" gorm:"column=qualification;comment:类目资质"`

	QualificationType int32 `json:"qualificationType" gorm:"column=qualification_type;comment:类目资质类型,0:不需要,1:必填,2:选填"`

	ProductQualification string `json:"productQualification" gorm:"column=product_qualification;comment:商品资质"`

	ProductQualificationType int32 `json:"productQualificationType" gorm:"column=product_qualification_type;comment:商品资质类型,0:不需要,1:必填,2:选填"`

	SecondCatId int32 `json:"secondCatId" gorm:"column=second_cat_id;comment:二级类目ID"`

	SecondCatName string `json:"secondCatName" gorm:"column=second_cat_name;comment:二级类目名称"`

	FirstCatId int32 `json:"firstCatId" gorm:"column=first_cat_id;comment:一级类目ID"`

	FirstCatName string `json:"firstCatName" gorm:"column=first_cat_name;comment:一级类目名称"`

	AuditId string `json:"auditId" gorm:"column=audit_id;comment:申请id 有数据证明申请过"`

	Status int32 `json:"status" gorm:"column=status;comment:status  0初始化 1微信侧审核中 2微信侧审核失败 3微信侧审核成功"`

	AuditTime time.Time `json:"auditTime" gorm:"column=audit_time;comment:提审时间"`

	RejectReason string `json:"rejectReason" gorm:"column=reject_reason;comment:微信侧审核拒绝原因"`

	AuditQualificationReq string `json:"auditQualificationReq" gorm:"column=audit_qualification_req;comment:类目审核时提交的资质证明"`
}
